uniUpload

expect suspend fun <T> <Error class: unknown class>.uniUpload(url: String, data: Map<String, Any>, resultDeserializer: <Error class: unknown class><T>, headers: <Error class: unknown class> = Headers.Empty, stringFormat: <Error class: unknown class> = Json, onUpload: OnUploadCallback = { _, _ -> }): T?

Will execute submitting of multipart data request

See also

dev.inmo.micro_utils.ktor.server.handleUniUpload

Parameters

data

Map where keys will be used as names for multipart parts and values as values. If you will pass dev.inmo.micro_utils.common.MPPFile (File from JS or JVM platform). Also you may pass UniUploadFileInfo as value in case you wish to pass other source of multipart binary data than regular file

expect suspend fun <T> <Error class: unknown class>.uniUpload(url: String, data: Map<String, Any>, resultDeserializer: <Error class: unknown class><T>, headers: <Error class: unknown class> = Headers.Empty, stringFormat: <Error class: unknown class> = Json, onUpload: OnUploadCallback = { _, _ -> }): T?

Will execute submitting of multipart data request

See also

dev.inmo.micro_utils.ktor.server.handleUniUpload

Parameters

data

Map where keys will be used as names for multipart parts and values as values. If you will pass dev.inmo.micro_utils.common.MPPFile (File from JS or JVM platform). Also you may pass UniUploadFileInfo as value in case you wish to pass other source of multipart binary data than regular file

expect suspend fun <T> <Error class: unknown class>.uniUpload(url: String, data: Map<String, Any>, resultDeserializer: <Error class: unknown class><T>, headers: <Error class: unknown class> = Headers.Empty, stringFormat: <Error class: unknown class> = Json, onUpload: OnUploadCallback = { _, _ -> }): T?

Will execute submitting of multipart data request

See also

Parameters

data

Map where keys will be used as names for multipart parts and values as values. If you will pass dev.inmo.micro_utils.common.MPPFile (File from JS or JVM platform). Also you may pass UniUploadFileInfo as value in case you wish to pass other source of multipart binary data than regular file